<?php include ('template/header.php'); ?>
<script>
    function validarNum(e)
    {
        tecla = (document.all) ? e.keyCode : e.which;
        if (tecla == 8) return true;
        patron = /[0-9\,\.]/;
        te = String.fromCharCode(tecla);
        return patron.test(te);
    }
</script>

<div id="content">
    <div id="breadcrumb">Inicio &raquo; Agregar Alumno</div>
    <div id="titulo">Agregar Alumno</div>

    <form name="forma1" method="POST" action="agregar_alumno2.php" enctype="multipart/form-data" >
        <div align="center">
            <table cellpadding="0" cellspacing="0" width="600" height="228">
                <tr>
                    <td>Nombre(s): </td>
                    <td height="25">
                        <input type="text"  maxlength="20" name="nombre" size="25" class="campo" onKeyPress="return letras()">
                    </td>
                </tr>
                <tr>
                    <td>Apellido(s): </td>
                    <td height="25">
                        <input type="text"  maxlength="25" name="apellido" size="25" class="campo" onKeyPress="if (event.keyCode > 48 && event.keyCode < 57) event.returnValue = false">
                    </td>
                </tr>
                <tr>
                    <td>Numero de Control:
                    </td>
                    <td height="25">
                        <input type="text"  maxlength="8" name="nc" size="25" class="campo" onKeyPress="return validarNum(event)">
                    </td>
                </tr>
                <tr>
                    <td>Carrera:
                    </td>
                    <td height="25">
                        <select name="carrera">
                            <option value="Arquitectura">Arquitectura</option>
                            <option value="Ing. Bioquimica">Ing. Bioquimica</option>
                            <option value="Ing. Civil">Ing. Civil</option>
                            <option value="Ing. Electrica">Ing. Electrica</option>
                            <option value="Ing. en Gestion Empresarial">Ing. en Gestion Empresarial</option>
                            <option value="Ing. Industrial">Ing. Industrial</option>
                            <option value="Ing. Mecatronica">Ing. Mecatr&oacute;nica</option>
                            <option value="Ing. Quimica">Ing. Quimica</option>
                            <option value="Ing. Sistemas Computacionales">Ing. Sistemas Computacionales</option>
                            <option value="Ing. en Tecnologicas de la Informacion y Comunicaciones">Ing. en Tecnologicas de la Informac&iacute;on y Comunicaci&oacute;nes</option>
                            <option value="Lic. en Administracion">Lic. en Administraci&oacute;n</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>E-mail: 
                        </td>
                    <td height="25">
                        <input type="text"  maxlength="30" name="email" size="25" class="campo" ></td>
                </tr>
                <tr>
                    <td>Domicilio: </td>
                    <td height="25">
                        <input type="text"  maxlength="50" name="domicilio" size="25" class="campo" ></td>
                </tr>
                <tr>
                    <td>Ciudad: </td>
                    <td height="25">
                        <input type="text"  maxlength="50" name="ciudad" size="25" class="campo" ></td>
                </tr>
                <tr>
                    <td>Telefono (casa): </td>
                    <td height="25">
                        <input type="text"  maxlength="10" name="tel1" size="25" class="campo" onKeyPress="return validarNum(event)"></td>
                </tr>
                <tr>
                    <td>Telefono(celular): </td>
                    <td height="25">
                        <input type="text"  maxlength="10" name="tel2" size="25" class="campo" onKeyPress="return validarNum(event)" ></td>
                </tr>
                <tr>
                    <td><div align="left">Atencion medica:
                        </div></td>
                    <td height="25"><label>
                            <select name="atnmedica">
                                <option value="IMSS(X)">IMSS</option>
                                <option value="ISSSTE(X)">ISSSTE</option>
                                <option value="">Otro</option>
                            </select>
                        </label> 
                        <font class ="bold" color="#990000" size="2">*En caso de ser otro, especificar Afiliacion por favor</font>
                    </td>
                </tr>
                <tr>
                    <td>Atencion medica: </td>
                    <td height="25">
                        <input type="text"  maxlength="60" name="atnmedicaa" size="25" class="campo" />
                    </td>
                </tr>
                <tr>
                    <td>Nro. Afiliacion: </td>
                    <td height="25">
                        <input type="text"  maxlength="10" name="nroafil" size="25" class="campo" >
                    </td>
                </tr>
                <tr>
                    <td>Password: </td>
                    <td height="25">
                        <input type="password"  maxlength="25" name="password" size="25" class="campo"></td>
                </tr>
                <tr>
                    <td>&nbsp;</td>
                    <td height="25">
                        <input type="submit" value="Guardar" name="B1" class="guardar">
                        <input type="reset" value="Limpiar" name="B2" class="guardar">
                    </td>
                </tr>
            </table>
        </div>
    </form>
</div>	
<?php include ('template/footer.php'); ?>